-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AVRO-4115: [PHP] Fix long encoding #3303
base: main
Are you sure you want to change the base?
Conversation
@thiagorb @MichelHartmann can you guys take a look at this please? |
Looks good to me! |
@martin-g can you take a look again please? I decided to keep the original methods instead of creating a new file, the diff looks better now. |
@adamquaile @valvadis @jjatria @skystebnicki You might be interested to review this change |
aea815f
to
4ca2932
Compare
@martin-g there was a small typo in the |
What is the purpose of the change
This PR fixes PHP long encoding on 64bit platforms as the current implementation does not support longs bigger than
1<<61
.Verifying this change
I've added new tests to cover more scenarios and uncommented existing tests.
https://issues.apache.org/jira/browse/AVRO-4115